Skip to main content
POST
/
api
/
portrait
/
effects
/
portrait-animation
Cartoon yourself
curl --request POST \
  --url https://www.ailabapi.com/api/portrait/effects/portrait-animation \
  --header 'Content-Type: multipart/form-data' \
  --header 'ailabapi-api-key: <api-key>' \
  --form image='@example-file' \
  --form 'type=<string>'
{
  "request_id": "",
  "log_id": "",
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "error_detail": {
    "status_code": 200,
    "code": "",
    "code_message": "",
    "message": ""
  },
  "data": {
    "image_url": ""
  }
}

Authorizations

ailabapi-api-key
string
header
required

API Key for authentication

Body

multipart/form-data
image
file
type
string

Cartoon effect.

  • jpcartoon: Japanese Manga (I)
  • anime: Japanese Manga (II)
  • claborate: Chinese fine brushwork painting
  • hongkong: Hong Kong-style comic style
  • comic: Comic
  • animation3d: 3D Animation
  • handdrawn: hand-painted
  • sketch: Pencil drawing (I)
  • full: Pencil drawing (II)
  • artstyle: Artistic effects
  • classic_cartoon: Retro Cartoon
  • tccartoon: Moe Manga
  • hkcartoon: China Comics
  • 3d_cartoon: 3D cartoon
  • pixar: Pixar
  • pixar_plus: Pixar Pro
  • angel: Angel
  • angel_plus: Angel Pro
  • demon: Demon
  • ukiyoe_cartoon: Ukiyo-e
  • amcartoon: American Manga
  • 3d: 3D Effects
  • 3d_game: 3D game effects
  • western: Western
  • avatar: Avatar
  • head: Pencil drawing (head)
  • Response

    200 - application/json

    Success

    The response is of type object.